package org.come.Jpanel;

import java.awt.CardLayout;
import java.awt.Color;

import javax.swing.JPanel;

import com.tool.tcpimg.UIUtils;

/**
 * 商城主面板卡牌布局
 * <p>
 * Title : TaobaoCourtCardJpanel
 * </p>
 * 
 * @author : HGC
 * @date : 2019年7月17日 上午9:39:35
 * @version : 1.0.0
 */
public class TaobaoCourtCardJpanel extends JPanel {

    private CardLayout cardLayout;
    // 商城充值面板
    private RechargeJpanel rechargeJpanel;
    // 商城限购面板
    private QuotaJpanel quotaJpanel;
    // 基金面板
    private FundBuyJpanel fundBuyJpanel;
    // 月卡面板
    private MonthlyCardJpanel monthlyCardJpanel;

    //新增加
    // 飞行器面板

    //新增加

    // 累充面板
    private CumulativeJpanel cumulativeJpanel;
    // 锦绣面板
    private TaobaoCourtSplendidJpanel taobaoCourtSplendidJpanel;
    // 商城面板

    //商城新增加
    private ShopHomePageJpanel shopHomePageJpanel;
    //商城新增加

    //商城新增加
    private ShopFlyJpanel shopFlyJpanel;
    //商城新增加

    private ShopOnlineJpanel shopOnlineJpanel;
    // VIP充值面板
    private VIPShopJpanel vipShopJpanel;

    private GetLiangHaoJpanel getLiangHaoJpanel;

    private int menuType = 2;

    public TaobaoCourtCardJpanel() {
        shopHomePageJpanel = new ShopHomePageJpanel();
        cumulativeJpanel = new CumulativeJpanel();
        cardLayout = new CardLayout();
        rechargeJpanel = new RechargeJpanel();
        quotaJpanel = new QuotaJpanel();
        fundBuyJpanel = new FundBuyJpanel();
        monthlyCardJpanel = new MonthlyCardJpanel();
        taobaoCourtSplendidJpanel = new TaobaoCourtSplendidJpanel();
        shopOnlineJpanel = new ShopOnlineJpanel();

        //商城新增加
        shopFlyJpanel = new ShopFlyJpanel();
        //商城新增加

        vipShopJpanel = new VIPShopJpanel();
        getLiangHaoJpanel = new GetLiangHaoJpanel();
        // this.setPreferredSize(new Dimension(656, 497));
        this.setBounds(0, 40, 802, 538);
        this.setOpaque(false);
        this.setBackground(Color.red);
        this.setLayout(cardLayout);
        this.setBackground(UIUtils.Color_BACK);

        //商城新增加
        this.add(shopHomePageJpanel, "shopHomePage");
        //商城新增加

        this.add(shopOnlineJpanel, "shopOnline");
        this.add(shopFlyJpanel, "fly");
        this.add(taobaoCourtSplendidJpanel, "taobaoCourt");
        this.add(rechargeJpanel, "recharge");
        this.add(quotaJpanel, "quota");
        this.add(fundBuyJpanel, "fundBuy");
        this.add(monthlyCardJpanel, "monthCard");
       //新增加

        //新增加

        this.add(cumulativeJpanel, "leichong");
        this.add(vipShopJpanel, "vipshop");
        this.add(getLiangHaoJpanel, "liangCard");
    }

    public CardLayout getCardLayout() {
        return cardLayout;
    }

    public RechargeJpanel getRechargeJpanel() {
        return rechargeJpanel;
    }

    public void setRechargeJpanel(RechargeJpanel rechargeJpanel) {
        this.rechargeJpanel = rechargeJpanel;
    }

    public QuotaJpanel getQuotaJpanel() {
        return quotaJpanel;
    }

    public void setQuotaJpanel(QuotaJpanel quotaJpanel) {
        this.quotaJpanel = quotaJpanel;
    }

    public FundBuyJpanel getFundBuyJpanel() {
        return fundBuyJpanel;
    }

    public void setFundBuyJpanel(FundBuyJpanel fundBuyJpanel) {
        this.fundBuyJpanel = fundBuyJpanel;
    }

    public MonthlyCardJpanel getMonthlyCardJpanel() { return monthlyCardJpanel; }

    public void setMonthlyCardJpanel(MonthlyCardJpanel monthlyCardJpanel) { this.monthlyCardJpanel = monthlyCardJpanel; }

    //新增加


    //新增加


    public CumulativeJpanel getCumulativeJpanel() {
        return cumulativeJpanel;
    }

    public void setCumulativeJpanel(CumulativeJpanel cumulativeJpanel) {
        this.cumulativeJpanel = cumulativeJpanel;
    }

    public TaobaoCourtSplendidJpanel getTaobaoCourtSplendidJpanel() {
        return taobaoCourtSplendidJpanel;
    }

    public void setTaobaoCourtSplendidJpanel(TaobaoCourtSplendidJpanel taobaoCourtSplendidJpanel) {
        this.taobaoCourtSplendidJpanel = taobaoCourtSplendidJpanel;
    }

    public void setCardLayout(CardLayout cardLayout) {
        this.cardLayout = cardLayout;
    }

    //商城新增加

    public ShopHomePageJpanel getShopHomePageJpanel() {
        return shopHomePageJpanel;
    }

    public void setShopHomePageJpanel(ShopHomePageJpanel taobaoCourtSplendidJpanel1) {
        this.shopHomePageJpanel = shopHomePageJpanel;
    }

    public ShopFlyJpanel getShopFlyJpanel() {
        return shopFlyJpanel;
    }

    public void setShopFlyJpanel(ShopFlyJpanel shopFlyJpanel) { this.shopFlyJpanel = shopFlyJpanel; }

    //商城新增加


    public ShopOnlineJpanel getShopOnlineJpanel() {
        return shopOnlineJpanel;
    }

    public void setShopOnlineJpanel(ShopOnlineJpanel shopOnlineJpanel) {
        this.shopOnlineJpanel = shopOnlineJpanel;
    }

    public VIPShopJpanel getVipShopJpanel() {
        return vipShopJpanel;
    }

    public void setVipShopJpanel(VIPShopJpanel vipShopJpanel) {
        this.vipShopJpanel = vipShopJpanel;
    }

    public int getMenuType() {
        return menuType;
    }

    public void setMenuType(int menuType) {
        this.menuType = menuType;
    }

    public GetLiangHaoJpanel getGetLiangHaoJpanel() {
        return getLiangHaoJpanel;
    }

    public void setGetLiangHaoJpanel(GetLiangHaoJpanel getLiangHaoJpanel) {
        this.getLiangHaoJpanel = getLiangHaoJpanel;
    }
}
